Skip to content

sparse: accept sparse checkout patterns from stdin - #9932

Open
stephenprater wants to merge 1 commit into
jj-vcs:mainfrom
stephenprater:stephenprater/allow-sparse-set-to-take-stdin
Open

sparse: accept sparse checkout patterns from stdin#9932
stephenprater wants to merge 1 commit into
jj-vcs:mainfrom
stephenprater:stephenprater/allow-sparse-set-to-take-stdin

Conversation

@stephenprater

@stephenprater stephenprater commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Git has this thing here you can feed replacement sparse patterns into sparse-checkout from stdin so you can get the sparse patterns in from an external process. It'd be nice to have that same facility in JJ.

Checklist

If applicable:

  • I have updated CHANGELOG.md
  • I have updated the documentation (README.md, docs/, demos/)
  • I have updated the config schema (cli/src/config-schema.json)
  • I have added/updated tests to cover my changes
  • I fully understand the code that I am submitting (what it does,
    how it works, how it's organized), including any code drafted by an LLM.
  • For any prose generated by an LLM, I have proof-read and copy-edited with
    an eye towards deleting anything that is irrelevant, clarifying anything
    that is confusing, and adding details that are relevant. This includes,
    for example, commit descriptions, PR descriptions, and code comments.

@stephenprater
stephenprater requested a review from a team as a code owner August 6, 2026 21:13
Comment thread cli/src/commands/sparse/set.rs
Comment thread CHANGELOG.md Outdated
@stephenprater
stephenprater force-pushed the stephenprater/allow-sparse-set-to-take-stdin branch from 830c986 to 4d78896 Compare August 7, 2026 18:20
Git has a facility where you can feed replacement sparse patterns into sparse-checkout from stdin so you can get the sparse patterns in from an external process. It'd be nice to have that same facility in JJ.
@stephenprater
stephenprater force-pushed the stephenprater/allow-sparse-set-to-take-stdin branch from 4d78896 to 915b15e Compare August 12, 2026 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants